<template>
  <div class="box">
    <img src="@/assets/logo.png" alt="" @click="login">
  </div>
</template>

<script>
import { storageUser } from '@/api/storage.js'
export default {
  methods: {
    login () {
      storageUser('login')
      this.$router.push({ path: '/ceshi' })
    }
  }
}
</script>

<style lang="less" >
.box {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  img {
    width: 100%;
    height: 100%;
  }
}
</style>>
